package org.dormnet.dao.bean;

import java.util.Date;


public class Diary {
	private int daId;
	private Integer Dormid;
	private String title;
	private Date dtime;
	private String content;
	private String author;
	private int isdeleted;
	public int getDaId() {
		return daId;
	}
	public void setDaId(int daId) {
		this.daId = daId;
	}
	
	public Integer getDormid() {
		return Dormid;
	}
	public void setDormid(Integer dormid) {
		Dormid = dormid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Date getDtime() {
		return dtime;
	}
	public void setDtime(Date dtime) {
		this.dtime = dtime;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public int getIsdeleted() {
		return isdeleted;
	}
	public void setIsdeleted(int isdeleted) {
		this.isdeleted = isdeleted;
	}
	@Override
	public String toString() {
		return "Diary [daId=" + daId + ", Dormid=" + Dormid + ", title="
				+ title + ", dtime=" + dtime + ", content=" + content
				+ ", author=" + author + ", isdeleted=" + isdeleted + "]";
	}
	public Diary(int daId, Integer dormid, String title, Date dtime,
			String content, String author, int isdeleted) {
		super();
		this.daId = daId;
		Dormid = dormid;
		this.title = title;
		this.dtime = dtime;
		this.content = content;
		this.author = author;
		this.isdeleted = isdeleted;
	}
	public Diary() {
		super();
	}
	
	
}
